class Tag < ActiveRecord::Base
	has_many :posts_tags, :class_name => "PostsTag", :foreign_key => "tag_id"
	has_many :posts,:through => :posts_tags
end
